package cn.naughtior.shch.utils;


import com.rabbitmq.client.Connection;

/**
 * ${DESCRIPTION}
 *
 * @author shitou<shitou@in66.com>
 * @create 2017-01-16 17:03
 */

public class ConnectionThreadLocal {
    private static ThreadLocal<Connection> holder = new ThreadLocal<Connection>();

    public static Connection get() {
        return holder.get();
    }

    public static void set(Connection value) {
        holder.set(value);
    }
}
